package com.ll.cpu;

/**
 * @author 刘龙
 * @version 1.0
 */
public class CpuNum {
    public static void main(String[] args) {
        Runtime runtime = Runtime.getRuntime();
        long l = runtime.totalMemory();
        System.out.println(l);
        int i = runtime.availableProcessors();
        System.out.println(i);
    }
}
